export default {
  path: '/employees',
  component: () => import('@/layout'),
  children: [
    {
      // 默认路由
      path: '',
      name: 'employees',
      component: () => import('@/views/employees'),
      meta: {
        title: '员工', icon: 'peoples'
      }
    },
    {
      // 员工详情页
      path: 'detail/:id',
      name: 'details',
      hidden: true,
      component: () => import('@/views/employees/detail'),
      meta: {
        title: '员工详情页'
      },
      props: true
    },
    {
      // 打印页
      path: 'print/:id',
      name: 'print',
      hidden: true,
      component: () => import('@/views/employees/printPage'),
      meta: {
        title: '打印页'
      }
    }
  ]
}
